// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import { Carousel,CarouselItem} from 'element-ui'
import axios from 'axios'
import $ from 'jquery'
import '../node_modules/bootstrap/dist/css/bootstrap.min.css'
import '../node_modules/bootstrap/dist/js/bootstrap.min.js'
//import kbtheader from './components/header/header.vue'
import Header from './components/header/header'
Vue.use(Header);
import Footer from './components/footer/footer'
Vue.use(Footer);


Vue.config.productionTip = false;
Vue.prototype.$ELEMENT = { size: 'small', zIndex: 3000 };
Vue.prototype.$http= axios;
//axios.defaults.baseURL="http://192.168.199.109/index.php/api";
axios.defaults.baseURL="https://x.ecdo.net/index.php/api";
//axios.defaults.baseURL="http://114.116.70.130:8080";
//Vue.component('my-header', kbtheader);
//axios.defaults.baseURL=process.env.baseURL;


Vue.use(ElementUI);
Vue.use(Carousel);
Vue.use(CarouselItem);


/* eslint-disable no-new */
new Vue({
  el: '#app',
  render: h => h(App),
  router,
  components: { App },
  template: '<App/>'

});
